package dimension.starry.constants;

/**
 * @author 150149
 */
public class ExpLevel {

    public static final int[] needExp = new int[200];

    static {
        needExp[0] = 500;
        needExp[1] = 1000;
        needExp[2] = 1325;
        needExp[3] = 1700;
        needExp[4] = 2150;
        needExp[5] = 2625;
        needExp[6] = 3150;
        needExp[7] = 3725;
        needExp[8] = 4350;
        needExp[9] = 5000;
        needExp[10] = 5700;
        needExp[11] = 6450;
        needExp[12] = 7225;
        needExp[13] = 8050;
        needExp[14] = 8925;
        needExp[15] = 9825;
        needExp[16] = 10750;
        needExp[17] = 11725;
        needExp[18] = 12725;
        needExp[19] = 13775;
        needExp[20] = 14875;
        needExp[21] = 16800;
        needExp[22] = 18000;
        needExp[23] = 19250;
        needExp[24] = 20550;
        needExp[25] = 21875;
        needExp[26] = 23250;
        needExp[27] = 24650;
        needExp[28] = 26100;
        needExp[29] = 27575;
        needExp[30] = 29100;
        needExp[31] = 30650;
        needExp[32] = 32250;
        needExp[33] = 33875;
        needExp[34] = 35550;
        needExp[35] = 37250;
        needExp[36] = 38975;
        needExp[37] = 40750;
        needExp[38] = 42575;
        needExp[39] = 44425;
        needExp[40] = 46300;
        needExp[41] = 50625;
        needExp[42] = 52700;
        needExp[43] = 54775;
        needExp[44] = 56900;
        needExp[45] = 59075;
        needExp[46] = 61275;
        needExp[47] = 63525;
        needExp[48] = 65800;
        needExp[49] = 68125;
        needExp[50] = 70475;
        needExp[51] = 76500;
        needExp[52] = 79050;
        needExp[53] = 81650;
        needExp[54] = 84275;
        needExp[55] = 86950;
        needExp[56] = 89650;
        needExp[57] = 92400;
        needExp[58] = 95175;
        needExp[59] = 98000;
        needExp[60] = 100875;
        needExp[61] = 108950;
        needExp[62] = 112050;
        needExp[63] = 115175;
        needExp[64] = 118325;
        needExp[65] = 121525;
        needExp[66] = 124775;
        needExp[67] = 128075;
        needExp[68] = 131400;
        needExp[69] = 134775;
        needExp[70] = 138175;
        needExp[71] = 148700;
        needExp[72] = 152375;
        needExp[73] = 156075;
        needExp[74] = 159825;
        needExp[75] = 163600;
        needExp[76] = 167425;
        needExp[77] = 171300;
        needExp[78] = 175225;
        needExp[79] = 179175;
        needExp[80] = 180900;
        needExp[81] = 183175;
        needExp[82] = 216225;
        needExp[83] = 243025;
        needExp[84] = 273100;
        needExp[85] = 306800;
        needExp[86] = 344600;
        needExp[87] = 386950;
        needExp[88] = 434425;
        needExp[89] = 487625;
        needExp[90] = 547200;
    }

    public static int getNeedExp(int currentLevel) {
        if (currentLevel >= 90) {
            return 99999999;
        }
        return needExp[currentLevel + 1];
    }

}
